<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'rcdetail.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
</head>

<body>
	<div id="detailmanager">
		<a href="javascript:history.back(-1);"><img
			src="<%=basePath%>images/goBack.png" /></a>
	</div>
	<center>
	<div style="width: 600px;">
	
		<table style="border-collapse:separate; border-spacing:10px;">
			<tr>
				<td style="width: 80px;">编号:</td>
				<td>${r"${rlist.id }"}</td>
			</tr>
			<tr>
				<td>标题:</td>
				<td>${r"${rlist.title }"}</td>
			</tr>
			<tr>
				<td>时间:</td>
				<td>${r"${rlist.time }"}</td>
			</tr>

			<c:if test="${r"${rlist.type==1}"}">
				<tr>
					<td style="width: 80px;">所属类别:</td>
					<td>科技企业家</td>
				</tr>
			</c:if>
			<c:if test="${r"${rlist.type==2}"}">
				<tr style="width:80px;">
					<td>所属类别:</td>
					<td>产学研人才</td>
				</tr>
			</c:if>
			<c:if test="${r"${rlist.type==3}"}">
				<tr style="width: 80px;">
					<td>所属类别:</td>
					<td>院士工作</td>
				</tr>
			</c:if>
			<c:if test="${r"${rlist.type==4}"}">
				<tr style="width: 80px;">
					<td>所属类别:</td>
					<td>技能人才</td>
				</tr>
			</c:if>
			<c:if test="${r"${rlist.type==5}"}">
				<tr style="width: 80px;">
					<td>所属类别:</td>
					<td>三秦人才</td>
				</tr>
			</c:if>
			<tr>
				<td>内容:</td>
				<td>${r"${rlist.content }"}</td>
			</tr>
			<tr>
				<td>文件:</td>
				<c:if test="${r"${rlist.docname==null }"}">
					<td>相应文件还没有上传</td>
				</c:if>
				<c:if test="${r"${rlist.docname!=null }"}">
					<td>${r"${rlist.docname}"}</td>
				</c:if>
			</tr>
		</table>
	</div>
		</center>
</body>
</html>
